package com.dh.blog.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.dh.blog.dao.VisitorDao;
import com.dh.blog.service.VisitorService;
import com.dh.blog.vo.VisitorVo;

@Service("visitorService")
@Transactional(readOnly=true)
public class VisitorServiceImpl implements VisitorService{
	@Resource
	private VisitorDao visitorDao;
	@Override
	public VisitorVo getVisitorById(String id) {
		return visitorDao.getById(id);
	}

}
